title: Amazon S3
tags:
- "#aws/storage/s3"
course:
id: 1
name: Belajar AWS
section:
id: 5
name: AWS Storage
lecture:
id: 9
published: trueAmazon S3
S3 bukanlah Global Service, melainkan Regional Service
-s3aliaskeyKey menggunakan full path
s3://my-bucket/my_file.txts3://my-bucket/my-folder/another_folder/my_file.txtkey terdiri prefix + object name
s3://my-bucket/my_folder/another_folder/my_file.txtALLOW atau resource policy memberikan akses ALLOWDENYResourcesEffect: Allow / DenyActions: Mengatur API mana yang di-Allow dan di-DenyPrincipal : Account atau user yang diassign oleh policy tersebutnulls3://mybucket/mp3/*)Departement : Finance)Statement.Conditionbucket policies akan di-evaluasi terlebih dahulu sebelum default encryption settings
https://subrutin.com* untuk semua originretention period: proteksi object untuk jangka waktu tertentu dan dapat diperpanjang
Legal Hold : melindungi object tanpa batas waktu, terlepas dari retention period, untuk menghapus dan mengaturnya perlu akses IAM permission s3:PutObjectLegalHold